//# sourceURL=http://uMapApp/Earth/DataSourceView/DataSourceView
define([
    "mhjs/mhjs"
], function (
    mhjs
) {

    function DataSourceView(option) {

        var _this = this;
        option && _this.OptionToProperties(option);

    }

    var _class = DataSourceView;

    mhjs.OptionToPropertiesInterface(_class);
    mhjs.EventInterface(_class);

    Object.defineProperties(_class.prototype, {
        "toggle": {
            value: function () {
                var _this = this;
                if (this.isOpened) {
                    this.close();
                } else {
                    this.open();
                }
            }
        }
    });

    return _class;

});